package com.army.study.bean;

/**
 * 表的点
 */
public class ChartPoint {
    // 步数
    private int value;
    // 点的样式
    private PointStyle pointStyle;
    // 点的描述
    private String description;
    // 描述的位置
    private String textLocation;
    // 字体颜色
    private String textColor;

    /**
     * 描述显示位置
     */
    public enum TextLocation {
        /**
         * 底部
         */
        BOTTOM,
        /**
         * 不显示
         */
        NONE,
        /**
         * 顶部
         */
        TOP
    }

    /**
     * 自动生成GET与SET方法
     * 右击 -> Generate -> Getter and Setter
     */

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public PointStyle getPointStyle() {
        return pointStyle;
    }

    public void setPointStyle(PointStyle pointStyle) {
        this.pointStyle = pointStyle;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTextLocation() {
        return textLocation;
    }

    public void setTextLocation(String textLocation) {
        this.textLocation = textLocation;
    }

    public String getTextColor() {
        return textColor;
    }

    public void setTextColor(String textColor) {
        this.textColor = textColor;
    }
}
